home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
User's Choice Windows CD
/
User's Choice Windows CD (CMS Software)(1993).iso
/
win_u_z
/
wt_jan92.zip
/
SHAW.ZIP
/
DIALOG.H
< prev
next >
Wrap
C/C++ Source or Header
|
1991-11-04
|
885b
|
48 lines
// dialog.h RHS 10/15/91
#if !defined(DIALOG_H)
#define DIALOG_H
#include"winapp.h"
class WinDialog : public WinApplication
{
FARPROC lpDialog;
int results;
char *name;
HWND hWndParent;
public:
HWND WHandle;
WinDialog(char *dialogname, FARPROC DialogProc, HWND hWnd);
WinDialog(void)
{
Init(NULL,(FARPROC)NULL,0);
}
int Results(void)
{
return results;
}
void SetProc(FARPROC DialogProc);
void SetName(char *newname)
{
name = newname;
}
void SetParent(HWND newhWnd)
{
hWndParent = newhWnd;
}
HWND GetParent(void)
{
return hWndParent;
}
void Init(char *name,FARPROC DialogProc,HWND hWnd);
int Run(void);
void SetDlgIcon(HICON hIcon);
};
#endif